var minSatis = 0, maxSatis = 1;
$(function() {
    $("#sliderRange1").slider({
        range: true,
        min: 0.0,
        max: 1.0,
        step: 0.01,
        values: [0.0, 1.0],
        slide: function(event, ui) {
            $("#amount1min").val(ui.values[0]);
            $("#amount1max").val(ui.values[1]);
            minSatis = ui.values[0];
            maxSatis = ui.values[1];
        }
    });
    $("#sliderRange1").mouseup(function () { 
        reaction();
    });
})

var minEvalu = 0, maxEvalu = 1;
$(function() {
    $("#sliderRange2").slider({
        range: true,
        min: 0.0,
        max: 1.0,
        step: 0.01,
        values: [0.0, 1.0],
        slide: function(event, ui) {
            $("#amount2min").val(ui.values[0]);
            $("#amount2max").val(ui.values[1]);
            minEvalu = ui.values[0];
            maxEvalu = ui.values[1];
        }
    });
    $("#sliderRange2").mouseup(function () { 
        reaction();
    });
})
